package com.hylink.bean;

import java.sql.Timestamp;


public class VwUserrole implements java.io.Serializable {

    // Fields

    private Long id;
    private Long pid;
    private Long sid;
    private String rootname;
    private String roottype;
    private String triggertype;
    private Timestamp updatetime;
    private Long state;
    private Integer userid;
    private String body;
    private Long isrole;

    // Constructors

    /**
     * default constructor
     */
    public VwUserrole() {
    }

    /**
     * minimal constructor
     */
    public VwUserrole(Long pid, Long sid, String rootname, String roottype,
                      String triggertype, Timestamp updatetime, Long state,
                      Integer userid) {
        this.pid = pid;
        this.sid = sid;
        this.rootname = rootname;
        this.roottype = roottype;
        this.triggertype = triggertype;
        this.updatetime = updatetime;
        this.state = state;
        this.userid = userid;
    }

    /**
     * full constructor
     */
    public VwUserrole(Long pid, Long sid, String rootname, String roottype,
                      String triggertype, Timestamp updatetime, Long state,
                      Integer userid, String body, Long isrole) {
        this.pid = pid;
        this.sid = sid;
        this.rootname = rootname;
        this.roottype = roottype;
        this.triggertype = triggertype;
        this.updatetime = updatetime;
        this.state = state;
        this.userid = userid;
        this.body = body;
        this.isrole = isrole;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public String getRootname() {
        return rootname;
    }

    public void setRootname(String rootname) {
        this.rootname = rootname;
    }

    public String getRoottype() {
        return roottype;
    }

    public void setRoottype(String roottype) {
        this.roottype = roottype;
    }

    public String getTriggertype() {
        return triggertype;
    }

    public void setTriggertype(String triggertype) {
        this.triggertype = triggertype;
    }

    public Timestamp getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Timestamp updatetime) {
        this.updatetime = updatetime;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public Long getIsrole() {
        return isrole;
    }

    public void setIsrole(Long isrole) {
        this.isrole = isrole;
    }
}